package learn.emp02.ex08;

import java.util.Scanner;

public class Main {
    public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);
        while (scanner.hasNext()){
            int n = scanner.nextInt();
            int even = 0;
            int odd = 0;
            for (int i=1;i<=n;i++){
                if (i%2==0){
                    even++;
                }else {
                    odd++;
                }
            }
            System.out.println("奇数和=" + odd + ", 偶数和=" + even);
        }scanner.close();
    }
}
